// FILE: Emulator.cpp by Richard Hughes 29/04/2012
//
// DESC: Implements emulator general functions etc...

// INCLUDES
#include "Emulator.h"

namespace Emulator
{

// are we big or little endian?
// takes nothing
// returns true if we are big endian, false if we are little
bool IsSystemBigEndian()
{
	// this is for the running machine
	/*
	uint32_t endianness = 0xdeadbeef;

	return *(const char *)&endianness == 0xde;
	*/

	// Chip8 is big endian
	return true;
} // end IsSystemBigEndian

} // end namespace Emulator

// EOF: Emulator.cpp